<%= simple_form_for([:admin, @hydropower], html: {class: 'layui-form'}) do |f| %>
  <%= f.error_notification %>

    <div class="layui-form-item">
      <%= f.label :water_balance, class: 'layui-form-label' %>
      <div class="layui-input-block">
        <%= f.input_field :water_balance, class: 'layui-input', autocomplete: 'off', placeholder: Hydropower.human_attribute_name(:water_balance) %>
      </div>
    </div>
    <div class="layui-form-item">
      <%= f.label :electric_balance, class: 'layui-form-label' %>
      <div class="layui-input-block">
        <%= f.input_field :electric_balance, class: 'layui-input', autocomplete: 'off', placeholder: Hydropower.human_attribute_name(:electric_balance) %>
      </div>
    </div>

    <!-- <div class="layui-form-item">
      <%= f.label :total_day, class: 'layui-form-label' %>
      <div class="layui-input-block">
        <%= f.input_field :total_day, class: 'layui-input', autocomplete: 'off', placeholder: Hydropower.human_attribute_name(:total_day) %>
      </div>
    </div> -->

  <div class="actions">
    <%= f.submit t('buttons.save'), data: { disable_with: "保存中..." }, class: 'layui-btn' %>
    <%= link_to t('buttons.cancel'), url_for(:back), class: 'layui-btn layui-btn-normal' %>
  </div>
<% end %>
